package me.goldze.mvvmhabit.model.request;


import lombok.Data;

/**
 * Created by Hao on 2017-03-23.
 */
@Data
public class PageRequest<T> {


    /**
     * 当前页码
     */
    private Integer page = 1;
    /**
     * 每页数量
     */
    private Integer rows = 10;
    /**
     * 排序规则：升序=asc，降序=desc
     */
    private String order;// asc desc
    /**
     * 排序字段名称
     */
    private String sort;

    public PageRequest() {
    }


}
